package sia.tp1.operator;

import java.util.List;

public abstract class Operator {
	
	public boolean eval(List<Boolean> input) throws Exception {
		throw new Exception("Should not be used, should be overrided.");
	}
	
	public boolean eval(List<Boolean> input, boolean leftTree, boolean rightTree) throws Exception {
		throw new Exception("Should not be used, should be overrided.");
	}
	
	public Operator clone() {
		return this;
	}
	
	public abstract String toString();	
}
